package com.qianwang.shopmsg.service.teacher;

import java.util.List;

import com.qianwang.shopmsg.common.Page;
import com.qianwang.shopmsg.entity.TeacherInfo;
import com.qianwang.shopmsg.exception.ParamValidateException;
import com.qianwang.shopmsg.param.TeacherInfoCreateParam;
import com.qianwang.shopmsg.param.TeacherInfoListParam;

public interface TeacherMsgService {

	public int countTeacherInfo(TeacherInfoListParam listParam);

	public void addTeacherInfo(TeacherInfo course);

	public List<TeacherInfo> listTeacherInfos(Page pg, TeacherInfoListParam listParam);

	public void saveTeacherInfo(TeacherInfoCreateParam createParam) throws ParamValidateException;

	public void deleteTeacherInfo(long id) throws ParamValidateException;

	public TeacherInfo loadTeacherInfoById(long id) throws ParamValidateException;

}
